package com.chujian.system.sys.service;


import com.chujian.framework.core.base.BaseService;
import com.chujian.framework.echo.IEchoDataService;
import com.chujian.sys.entity.SysDept;

import java.util.List;

/**
 * 部门表 服务类
 *
 * @author yj
 * @since 2021-07-28
 */
public interface SysDeptService extends BaseService<SysDept>, IEchoDataService<String> {

    List<SysDept> getTreeDepts(String deptName);

    SysDept getPureDeptById(Long deptId);

    SysDept tryCreDept(String deptSid, String deptName);

    SysDept getBySourceId(String sourceId);
}
